package com.sxt.bus.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 老雷
 * @since 2019-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bus_inport")//建立Inport.class和数据表bus_inport的关系
public class Inport implements Serializable {//实现序列化接口

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO) //代表它是主键
    private Integer id;

    private String paytype;

    private Date inporttime;

    private String operateperson;

    private Integer number;

    private String remark;

    private Double inportprice;

    private Integer providerid;

    private Integer goodsid;

    private String tocheck;

    private String tocheckend;

    private String state;

    private Double money;

    private String code;

    private Date checktime;

    private String finish;
    @TableField(exist=false)//当查询结果没有这个字段时可以用这个注解忽略这个属性
    private String providername;
    @TableField(exist=false)
    private String goodsname;//商品名称
    @TableField(exist=false)
    private String size;//商品规格
    @TableField(exist=false)
    private Integer deliverynumber;//已收货数量
    @TableField(exist=false)
    private Integer deliverynow;//本次收货数量

}
